|
rs4855v 2.2.1
|
RS485 5V Click Example. More...
Macros | |
| #define | MIKROBUS_POSITION_RS4855V MIKROBUS_1 |
| #define | PROCESS_COUNTER 10 |
| #define | PROCESS_RX_BUFFER_SIZE 100 |
| #define | PROCESS_PARSER_BUFFER_SIZE 100 |
| #define | DEMO_APP_TRANSMITTER |
Functions | |
| void | application_init (void) |
| void | application_task (void) |
| int | main (void) |
Variables | |
| unsigned char | demo_message [9] = { 'M', 'i', 'k', 'r', 'o', 'E', 13, 10, 0 } |
RS485 5V Click Example.
This example reads and processes data from RS485 5V Clicks.
The demo application is composed of two sections :
Initializes driver and wake-up module.
Reads the received data and parses it.
| #define DEMO_APP_TRANSMITTER |
| #define MIKROBUS_POSITION_RS4855V MIKROBUS_1 |
| #define PROCESS_COUNTER 10 |
| #define PROCESS_PARSER_BUFFER_SIZE 100 |
| #define PROCESS_RX_BUFFER_SIZE 100 |
| void application_init | ( | void | ) |
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
| void application_task | ( | void | ) |
| int main | ( | void | ) |
| unsigned char demo_message[9] = { 'M', 'i', 'k', 'r', 'o', 'E', 13, 10, 0 } |